Skip to content

Conversation

@alblue
Copy link
Contributor

@alblue alblue commented Oct 7, 2016

The Calendar destructor releases stored values when the
Calendar is being deallocated, including releasing the localeID.

By default this is an empty string (kCFEmptyString) which results
in multiple Calendars causing a fault when it is over-released.
Ensure that instead the localeID is retained to balance the
release when it is cleaned up.

Issue: SR-2879

The Calendar destructor releases stored values when the
Calendar is being deallocated, including releasing the localeID.

By default this is an empty string (kCFEmptyString) which results
in multiple Calendars causing a fault when it is over-released.
Ensure that instead the localeID is retained to balance the
release when it is cleaned up.

Issue: SR-2879
@parkera
Copy link
Contributor

parkera commented Oct 7, 2016

@swift-ci please test and merge

@swift-ci swift-ci merged commit 528a0e5 into swiftlang:master Oct 7, 2016
@alblue alblue deleted the sr2879 branch October 7, 2016 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants